package world.snowcrystal.Enum;

public enum AuthorityEnum {

    ROLE_ANONYMOUS(0),
    ROLE_ADMIN(3),
    ROLE_USER(2),
    ROLE_MANAGER(4),
    ROLE_PUBLISHER(5);

    private final Integer code;

     AuthorityEnum (Integer code){
        this.code = code;
    }
    public Integer getCode() {
        return code;
    }

}
